CVE-2026-43162
media: tegra-video: Fix memory leak in __tegra_channel_try_format()
Description
In the Linux kernel, the following vulnerability has been resolved: media: tegra-video: Fix memory leak in __tegra_channel_try_format() The state object allocated by __v4l2_subdev_state_alloc() must be freed with __v4l2_subdev_state_free() when it is no longer needed. In __tegra_channel_try_format(), two error paths return directly after v4l2_subdev_call() fails, without freeing the allocated 'sd_state' object. This violates the requirement and causes a memory leak. Fix this by introducing a cleanup label and using goto statements in the error paths to ensure that __v4l2_subdev_state_free() is always called before the function returns.
INFO
Published Date :
May 6, 2026, 12:16 p.m.
Last Modified :
May 13, 2026, 9:19 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Apply the kernel patch to fix the memory leak.
- Ensure __v4l2_subdev_state_free() is always called.
- Update the Tegra video driver module.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-43162.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-43162 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-43162
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-43162 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-43162 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
May. 13, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-401 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.17 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.130 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.77 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.6 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10 up to (excluding) 6.1.167 Added Reference Type kernel.org: https://git.kernel.org/stable/c/2dff8966a3a889dd9d248a7e15d963b4097efcc5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3ca2f09061736e72ef25eec2597d00f7f44094d3 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/43e5302d22334f1183dec3e0d5d8007eefe2817c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6c6f419fa9c44a4b7149b0292e01bff47308ba14 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ca921be7a1174d5d58b28f84b683c2c0079f18c5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d92e9a18f97a1d19d4c2ff81dcfbe43591f75b5a Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 06, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: media: tegra-video: Fix memory leak in __tegra_channel_try_format() The state object allocated by __v4l2_subdev_state_alloc() must be freed with __v4l2_subdev_state_free() when it is no longer needed. In __tegra_channel_try_format(), two error paths return directly after v4l2_subdev_call() fails, without freeing the allocated 'sd_state' object. This violates the requirement and causes a memory leak. Fix this by introducing a cleanup label and using goto statements in the error paths to ensure that __v4l2_subdev_state_free() is always called before the function returns. Added Reference https://git.kernel.org/stable/c/2dff8966a3a889dd9d248a7e15d963b4097efcc5 Added Reference https://git.kernel.org/stable/c/3ca2f09061736e72ef25eec2597d00f7f44094d3 Added Reference https://git.kernel.org/stable/c/43e5302d22334f1183dec3e0d5d8007eefe2817c Added Reference https://git.kernel.org/stable/c/6c6f419fa9c44a4b7149b0292e01bff47308ba14 Added Reference https://git.kernel.org/stable/c/ca921be7a1174d5d58b28f84b683c2c0079f18c5 Added Reference https://git.kernel.org/stable/c/d92e9a18f97a1d19d4c2ff81dcfbe43591f75b5a